package core.boundary;

public class InputReader{

	private IInputReader inputReader;
	private static InputReader instance;
	
	private InputReader() {}
	
	public static InputReader getInstance() {
		if (instance == null) {
			instance = new InputReader();
		}
		return instance;
	}
	
	public static void init(IInputReader inputReader) {
		getInstance().inputReader = inputReader;
	}
	
	public static IInputReader get() {
		return getInstance().inputReader;
	}
	
}
